#include "stdafx.h"
#include "./glWorld.h"

GLES::Void GLES::World::setTranslate( Vector3& trans )
{
	_trans = trans;
	glTranslatef(trans.x,trans.y,trans.z);
}

GLES::Void GLES::World::setScale( Vector3& scale )
{
	_scale = scale;
	glScalef(scale.x,scale.y,scale.z);
}

GLES::Void GLES::World::setRotate( Vector3& axis,Float angle)
{
	_rotate = axis;
	_angle = angle;
	glRotatef(angle,axis.x,axis.y,axis.z);
}